package com.kemai.designmode.factory.builder

import com.kemai.designmode.entry.fruit.FruitMeal




/**

 *@description:Builder 其实也是一个工厂
 * @author: zhaoshanshan
 * @date: 2022/10/3 3:03 下午

 */
interface Builder {

    fun buildApple(price:Double)//设置苹果价格
    fun buildBanana(price:Double)//设置香蕉价格
    fun buildOrange(price:Double)//苹果桔子价格
    fun getFruitMeal(): FruitMeal //返回创建的套餐


}